package com.example.wxy2.mapper;


import com.example.wxy2.entity.data;
import com.example.wxy2.entity.state_entity;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import sun.util.resources.LocaleData;

import java.time.LocalDate;
import java.util.List;

@Mapper
@Repository
public interface findPageMapper {

    List<data> findAll(@Param("username") String username, @Param("time1") LocalDate time1, @Param("time2")LocalDate time2
            , @Param("state") String state);

}
